package com.ygqh.baby.ao;

/**
 * 用户类型
 * @author admin
 */
public enum UserType {
    /**
     * 用户类型
     */
    Ordinary(0, "普通"), Agent(0, "代理商"), Channel(0, "渠道"), UserAgent(1, "代理"), Group(1, "团长"), Distributor(1, "分销员");

    /**
     * 状态码
     */
    private Integer code;
    /**
     * 状态名称
     */
    private String title;

    UserType(Integer code, String title) {
        this.code = code;
        this.title = title;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
